import request from '@/utils/request'

// 查询评标方法列表
export function listProjectbidevaluationmode(query) {
  return request({
    url: '/system/projectbidevaluationmode/list',
    method: 'get',
    params: query
  })
}

export function listsProjectbidevaluationmode(query) {
  return request({
    url: '/system/projectbidevaluationmode/lists',
    method: 'get',
    params: query
  })
}

// 查询评标方法详细
export function getProjectbidevaluationmode(id) {
  return request({
    url: '/system/projectbidevaluationmode/' + id,
    method: 'get'
  })
}

// 新增评标方法
export function addProjectbidevaluationmode(data) {
  return request({
    url: '/system/projectbidevaluationmode',
    method: 'post',
    data: data
  })
}

// 修改评标方法
export function updateProjectbidevaluationmode(data) {
  return request({
    url: '/system/projectbidevaluationmode',
    method: 'put',
    data: data
  })
}

// 删除评标方法
export function delProjectbidevaluationmode(id) {
  return request({
    url: '/system/projectbidevaluationmode/' + id,
    method: 'delete'
  })
}
